failure 494:
Requirement failed: {scalblnf.11.01.01} Function executed successfully with EOK error code, while `isOverflow_Unifloat(model_res) == true` means that ERANGE SHALL be set
location |
trace |
/var/opt/lsb/test/olver-core/2013-01-21_10-20-40/util_float_scenario.utz (util_float_scenario.utt), line 18938 |
occurence |
scenario |
util_float_scenario |
specification function |
scalbln_spec() |
parameter value |
CallContext context = [pid=17999,thr=b752d6c0] |
parameter value |
Unifloat * @x = (float) 3.4028234663852886e+38 (0x.FFFFFF00P128F) |
parameter value |
Unifloat * x = (float) 3.4028234663852886e+38 (0x.FFFFFF00P128F) |
parameter value |
LongT n = 3 |
parameter value |
ErrorCode * @errno = EOK |
parameter value |
ErrorCode * errno = EOK |
return value |
(Unifloat *) (float) Infinity |
coverage & branch |
C x - finite non-zero value, n - non-zero |
properties |
REQ failed |
scalblnf.11.01.01 |
kind |
POSTCONDITION_FAILED |
similar known bug(s)
The scalbln() family of functions shall compute x * FLT_RADIX^n efficiently, not normally by computing
FLT_RADIX^n explicitly.
According to LSB, the functions shall set ERANGE error code when overflow occurs.
But on the target machine the function sets error code EOK instead of ERANGE in
this case.
|
|